//
//  LLBConstant.swift
//  LLBUtil
//
//  Created by Yun on 2018/11/2.
//

import UIKit

public let kPageSize:Int32 = 20

//  设备尺寸
public let kScale = UIScreen.main.scale
public let kSignLine = 1.0/UIScreen.main.scale
public let kScreenWidth: CGFloat = UIScreen.main.bounds.size.width
public let kScreenHeight: CGFloat = UIScreen.main.bounds.size.height
public let isiPhoneX: Bool = (kScreenWidth == 375 && kScreenHeight == 812 || kScreenWidth == 414 && kScreenHeight == 896)
public let kStatusBarHeight: CGFloat = UIApplication.shared.statusBarFrame.height
public let kTabBarHeight: CGFloat = 49
public let kBottomBarHeight: CGFloat = isiPhoneX ? 83 : 49
public let kNavBarHeight: CGFloat = isiPhoneX ? 88 : 64
public let kScreenHeightWithOutTopBottom = kScreenHeight - kNavBarHeight - kTabBarHeight


public let kAPPVersion:String = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as! String
public let kAPPBuild:String = Bundle.main.infoDictionary?["CFBundleVersion"] as! String
